cmake_minimum_required(VERSION 3.15)

include(proj.conf)

find_package(bouffalo_sdk REQUIRED HINTS $ENV{BL_SDK_BASE})

file(GLOB_RECURSE source "${CMAKE_CURRENT_SOURCE_DIR}/dht11/*.c")

sdk_add_include_directories(. dht11)

target_sources(app PRIVATE ${source})

sdk_set_main_file(main.c)

project(dht11)
